Quantitative refractive crosslinking